package com.vmladenov.cook.ui.useful;

import java.util.ArrayList;

import com.vmladenov.cook.core.adapters.ContinuesSmallPreviewListAdapter;
import com.vmladenov.cook.core.adapters.UsefulListAdapter;
import com.vmladenov.cook.core.html.SmallPreview;
import com.vmladenov.cook.core.loaders.ISmallPreviewLoader;
import com.vmladenov.cook.ui.PagedListActivity;

public abstract class UsefulListActivity<TLoader extends ISmallPreviewLoader> extends
		PagedListActivity<TLoader>
{
	@Override
	protected ContinuesSmallPreviewListAdapter<TLoader> CreateAdaptor(
			ArrayList<SmallPreview> loadedData)
	{
		return new UsefulListAdapter<TLoader>(this, _loader, loadedData);
	}
}
